//
//  TrainingGpsResult.m
//  singlebreath
//
//  Created by Eric van Riet Paap on 29-09-08.
//  Copyright 2008 __MyCompanyName__. All rights reserved.
//

#import "TrainingGpsResult.h"


@implementation TrainingGpsResult

@synthesize	timestamp, latitude, longitude, accuracy, distance;


+(id)trainingGpsResultWithTimestamp:(float)_timestamp latitude:(float)_latitude longitude:(float)_longitude accuracy:(float)_accuracy distance:(float)_distance {
	return [[[TrainingGpsResult alloc] initWithTimestamp:_timestamp latitude:_latitude longitude:_longitude accuracy:_accuracy distance:_distance] retain];
}


-(id)initWithTimestamp:(float)_timestamp latitude:(float)_latitude longitude:(float)_longitude accuracy:(float)_accuracy distance:(float)_distance {
	self.timestamp = _timestamp;
	self.latitude  = _latitude;
	self.longitude = _longitude;
	self.accuracy  = _accuracy;
	self.distance  = _distance;
	return self;
}


@end
